package com.fenqile.pop.api.demo;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

/**
 * @author yaphyao
 * @version 2018/3/7
 * @see com.fenqile.pop.util.demo.api
 */
public class ThirdOrderQueryTest extends ApiTest {
    private String method = "fenqile.third.order.query";

    public void run() {
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("method", method);
        JSONArray jsonArray = new JSONArray();
        jsonArray.add("O20180213004856302891");
        jsonObject.put("id_list", jsonArray.toArray());
        post(jsonObject);
    }


    public static void main(String[] args) {
        ThirdOrderQueryTest queryTest = new ThirdOrderQueryTest();
        queryTest.run();
    }
}
